package com.example.ailiyuncloud.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.ailiyuncloud.dto.CommodityOrderDTO;
import com.example.ailiyuncloud.vo.QueryCommodityOrderVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: lqj
 * @Date: 2024/05/29/14:07
 * @Description:
 */
@Repository
public interface CommodityOrderMapper extends BaseMapper<CommodityOrderDTO> {


    /**
     * 订单动态查询sql
     *
     * @param page                  分页参数
     * @param queryCommodityOrderVO 查询参数
     * @return
     */
    IPage<CommodityOrderDTO> getCommodityOrderListInfo(@Param("page") Page page, @Param("queryCommodityOrderVO") QueryCommodityOrderVO queryCommodityOrderVO);
}
